package com.rjgc.title.model.entity.apply;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rjgc.title.model.base.BaseApplyEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 统编规划教材
 *
 * @program: title-parent
 * @author: Mr.Zhuo
 * @create: 2022-04-25 14:51
 **/
@Data
@ApiModel(description = "UnifiedPlanning")
@TableName("unified_planning")
public class UnifiedPlanning extends BaseApplyEntity {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "出版社")
    @TableField("press")
    private String press;

    @ApiModelProperty(value = "书号")
    @TableField("book_number")
    private String bookNumber;

    @ApiModelProperty(value = "出版时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField("publication_time")
    private Date publicationTime;

    @ApiModelProperty(value = "排名")
    @TableField("ranking")
    private String ranking;


    @ApiModelProperty(value = "字数")
    @TableField("number_words")
    private BigDecimal numberWords;

    @ApiModelProperty(value = "备注")
    @TableField("remarks")
    private String remarks;


}
